package com.wkbb.sports.service;

import com.github.pagehelper.PageInfo;
import com.wkbb.common.base.BaseService;
import com.wkbb.common.dto.ResultDTO;
import com.wkbb.common.dto.basic.UserDto;
import com.wkbb.sports.dto.MetaverseClockInDto;
import com.wkbb.sports.model.*;

import java.util.List;
import java.util.Map;

public interface MetaverseService extends BaseService<MetaverseActivityLocation>{

    int putMetaverseActivityLocationList(List<MetaverseActivityLocation> list) throws Exception;

    List<MetaverseActivityLocation> getMetaverseActivityLocationList();

    ResultDTO<MetaverseID> putMetaverseID(MetaverseID data);

    MetaverseID getMetaverseIDByUserId(Long userId);

    ResultDTO<Boolean> clockIn(MetaverseClockIn data) throws Exception;

    PageInfo<MetaverseClockInDto> getClockInListByPage(Map<String, Object> map, int pageNo, int pageSize);

}
